package io.geekidea.boot.notice.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.geekidea.boot.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.springframework.cglib.core.Local;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 返回给前端的数据
 */
@Getter
@Setter
@NoArgsConstructor
@ToString
@Schema(description = "公告查询结果对象")
public class NoticeVo  implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "公告ID")
    private Integer id;

    @Schema(description = "公告标题")
    private String name;

    @Schema(description = "公告详情")
    private String content;

    @Schema(description = "公告状态(0显示/1隐藏)")
    private String visible;

    @Schema(description = "公告类型(总部公告/战区公告)")
    private String type;

    @Schema(description = "发布人")
    private String createBy;

    @Schema(description = "发布时间")
    private LocalDateTime createdTime;

    @Schema(description = "更新时间")
    private LocalDateTime updatedTime;

}
